const express = require('express');
const router = express.Router();
const lessWork = require("../controller/lessWork");

// 获取用户作品
router.get('/getWorkList', lessWork.getWorkList);
// 保存用户作品
router.post('/createWork', lessWork.createWork)
// 更新用户作品
router.post('/updateWork', lessWork.updateWork)
// 删除用户作品
router.get('/deleteWork', lessWork.deleteWork)

module.exports = router;
